package alarm

import (
	alarmsdk "e.globalpand.cn/libs/alarm-sdk"
	"fmt"
	dgctx "github.com/darwinOrg/go-common/context"
)

func EmergencyAlarm(err error) {
	alarmsdk.EmergencyAlarm(dgctx.SimpleDgContext(), fmt.Sprintf("binlog error: %v", err))
}
